//
//  BHStadiumFunInfoCell.swift
//  BigHealth
//
//  Created by 蔺百好 on 2021/7/2.
//

import UIKit

class BHStadiumFunInfoCell: UITableViewCell {

    @IBOutlet weak var funType_label: UILabel!
    
    @IBOutlet weak var name_label: UILabel!
    
    @IBOutlet weak var startTime_label: UILabel!
    
    @IBOutlet weak var price_label: UILabel!
    
    var model: BHStadiumDetailPlayModel! {
        didSet {
            self.name_label.text = model.name
            self.startTime_label.text = "开始时间：\(model.startTime)"
            self.price_label.text = "¥\(model.price)"
            self.funType_label.text = " \(model.typeTwoLabel)   "
        }
    }
    
    override func awakeFromNib() {
        super.awakeFromNib()
        self.funType_label.addLayerCorner(2, 0.5, .color_cccccc)
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
}
